package com.bestcem.xm.user.mq.message.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 层级名称变更发送的消息内容
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/11 15:02
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ChangeGroupLevelNameMessage implements Serializable {

    private static final long serialVersionUID = 6468687709441871648L;

    /**
     * 租户id
     */
    @JsonProperty("orgId")
    @JSONField(name = "orgId")
    private String orgId;
    /**
     * 层级id
     */
    @JsonProperty("groupLevelID")
    @JSONField(name = "groupLevelID")
    private String groupLevelId;
    /**
     * 层级旧名称
     */
    @JsonProperty("oldName")
    @JSONField(name = "oldName")
    private String oldGroupLevelName;
    /**
     * 层级新名称
     */
    @JsonProperty("newName")
    @JSONField(name = "newName")
    private String newGroupLevelName;

}
